﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowOutpatientInfo.aspx.cs" Inherits="RegisterWeb.Manager.DoctorPersonalCenter.ShowOutpatientInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        $(function () {
            $('#dg1').datagrid({
                view: detailview,
                detailFormatter: function (index, row) {
                    return '<div id="ddv-' + index + '" style="padding:5px 0"></div>';
                },
                onExpandRow: function (index, row) {

                    $('#ddv-' + index).panel
                   ({
                    border: false,
                    cache: false,
                    href: 'ShowOutpatientInfo.aspx',
                    onLoad: function () {
                        $('#dg1').datagrid('fixDetailRowHeight', index);
                        $("#Outpatient_MainIntroduce").text(row.Outpatient_MainIntroduce);
                        $("#Outpatient_PastHistory").text(row.Outpatient_PastHistory);
                        $("#Outpatient_MainIntroduce").text(row.Outpatient_MainIntroduce);
                        $("#Outpatient_AddTime").text(row.Outpatient_AddTime);
                    }

                });
                    $('#dg1').datagrid('fixDetailRowHeight', index);
                }
            });

        
        });
        
        </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
       <table class="dv-table" border="0" style="width:100%;">    
    <tr>    
        <td class="dv-label">主诉: </td>    
        <td name="Outpatient_MainIntroduce" id="Outpatient_MainIntroduce"></td>    
        <td class="dv-label">既往史:</td>    
        <td name="Outpatient_PastHistory" id="Outpatient_PastHistory"></td>       
    </tr>    
    <tr>    
        <td class="dv-label">现病史: </td>    
        <td name="Outpatient_ShowHistory" id="Outpatient_ShowHistory"></td>     
        <td class="dv-label">记录时间:</td>    
        <td name="Outpatient_AddTime" id="Outpatient_AddTime"></td>   
    </tr>     
    
</table>    
    </div>
    </form>
</body>
</html>
